package com.teamwork.demo.service;

import com.teamwork.demo.entity.Application;
import com.teamwork.demo.entity.Group;
import com.teamwork.demo.entity.Class;
import com.teamwork.demo.entity.Stu;

import org.springframework.data.domain.Page;

public interface StuService {

    Page<Stu> findAll(Stu stu, Integer page, Integer limit);

    Stu save(Stu stu);

    Stu update(Stu stu);

    Page<Application> findAll(Application application, Integer page, Integer limit);

    Application save(Application application);

    Application update(Application application);

    Page<Group> findAll(Group group, int page, int limit);

    Page<Class> findAll(Class sclass, int page, int limit);
}
